package cn.tedu._06notice.controller;

import cn.tedu._06notice.pojo.dto.UserLoginParam;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "02.用户管理模块")
@Slf4j
@RestController
@RequestMapping("v1/user/")
public class UserController {
    @PostMapping("login")
    public String login(@RequestBody UserLoginParam ulp){
        log.debug("参数：" + ulp);
        return "登录成功";
    }
}
